package com.app.newiptv.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Shinelon on 2017/10/14.
 */

public class HomePageBean {
    private String logo;
    private String background;


    public List<Menus> menus =new ArrayList<>();
    private List<Hots> hots = new ArrayList<>();

    @Override
    public String toString() {
        return "HomePageBean{" +
                "logo='" + logo + '\'' +
                ", background='" + background + '\'' +
                ", menus=" + menus +
                ", hots=" + hots +
                '}';
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public List<Menus> getMenus() {
        return menus;
    }

    public void setMenus(List<Menus> menus) {
        this.menus = menus;
    }

    public List<Hots> getHots() {
        return hots;
    }

    public void setHots(List<Hots> hots) {
        this.hots = hots;
    }

    public class Hots implements Serializable {
        private int id;
        private String name;
        private String type;
        private String url;
        private String publish_at;
        private String director;
        private String info;
        private String staring;
        private int total_episode;
        private int sort;
        private String copyright;
        private String image;

        @Override
        public String toString() {
            return "Hots{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", type='" + type + '\'' +
                    ", url='" + url + '\'' +
                    ", publish_at='" + publish_at + '\'' +
                    ", director='" + director + '\'' +
                    ", info='" + info + '\'' +
                    ", staring='" + staring + '\'' +
                    ", total_episode=" + total_episode +
                    ", sort=" + sort +
                    ", copyright='" + copyright + '\'' +
                    ", image='" + image + '\'' +
                    '}';
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getPublish_at() {
            return publish_at;
        }

        public void setPublish_at(String publish_at) {
            this.publish_at = publish_at;
        }

        public String getDirector() {
            return director;
        }

        public void setDirector(String director) {
            this.director = director;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getStaring() {
            return staring;
        }

        public void setStaring(String staring) {
            this.staring = staring;
        }

        public int getTotal_episode() {
            return total_episode;
        }

        public void setTotal_episode(int total_episode) {
            this.total_episode = total_episode;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getCopyright() {
            return copyright;
        }

        public void setCopyright(String copyright) {
            this.copyright = copyright;
        }
    }

    public class Menus {
        private int id;
        private String name;
        private int sort;
        private String url;
        private String image;
        private boolean isApp;
        private String type;
        private APP app;

        public class APP {
            private int id;
            private String name;
            private String version;
            private String download;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getDownload() {
                return download;
            }

            public void setDownload(String download) {
                this.download = download;
            }

        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public boolean isApp() {
            return isApp;
        }

        public void setApp(boolean app) {
            isApp = app;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public APP getApp() {
            return app;
        }

        public void setApp(APP app) {
            this.app = app;
        }

        @Override
        public String toString() {
            return "Menus{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", sort=" + sort +
                    ", url='" + url + '\'' +
                    ", image='" + image + '\'' +
                    ", isApp=" + isApp +
                    ", type='" + type + '\'' +
                    ", app=" + app +
                    '}';
        }
    }
}
